package com.smscenter.server.core.ztsms;

/**
 * Created by ShanFei on 2017-02-16.
 */
public class ZtSmsError {
    public static String getErrorMess(int errorCode){
        switch (errorCode){
            case -1:
                return "用户名或者密码不正确或用户禁用或者是管理账户";
            case 0:
                return "发送短信失败";
            case 1:
                return "SUCCESS";
            case 2:
                return "余额不够或扣费错误";
            case 3:
                return "扣费失败异常";
            case 5:
                return "短信定时成功";
            case 6:
                return "有效号码为空";
            case 7:
                return "短信内容为空";
            case 8:
                return "无签名，必须，格式：【签名】";
            case 9:
                return "没有Url提交权限";
            case 10:
                return "发送号码过多,最多支持2000个号码";
            case 11:
                return "产品ID异常或产品禁用";
            case 12:
                return "参数异常";
            case 15:
                return "Ip验证失败";
            case 19:
                return "短信内容过长，最多支持500个,或提交编码异常导致";
            default:
                return "";
        }
    }
}
